#ifndef FILEDIALOG_H
#define FILEDIALOG_H

#include <QMainWindow>
#include <QAction>
#include <QTextEdit>


class FileDialog : public QMainWindow
{
    Q_OBJECT

public:
    FileDialog(QWidget *parent = 0);
    ~FileDialog();
    void openFile();
    void saveFile();

    void test()
    {

    }

protected:
    void closeEvent(QCloseEvent *event);

private:
    QAction *openAction;
    QAction *saveAction;
    QTextEdit *textEdit;

};

#endif // FILEDIALOG_H
